//
//  DependentComponentPickerViewController.h
//  Pickers
//
//  Created by Haili Ma on 11/11/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#define kStateComponent		0
#define	kZipComponent		1


@interface DependentComponentPickerViewController : UIViewController <UIPickerViewDelegate, UIPickerViewDataSource> {

	IBOutlet	UIPickerView *picker;
	
	NSDictionary	*stateZips;
	NSArray			*states;
	NSArray			*zips;
}

@property (retain, nonatomic) UIPickerView	*picker;
@property (retain, nonatomic) NSDictionary	*stateZips;
@property (retain, nonatomic) NSArray		*states;
@property (retain, nonatomic) NSArray		*zips;

-(IBAction) buttonPressed;

@end
